package com.puti.doctor.domian;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

//系统管理-医院-信息 系统管理-医院-信息对象 system_hospital_info
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class SystemHospitalInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 医师姓名 */
    @Excel(name = "医师姓名")
    private String doctorName;

    /** 医生ID */
    private Long doctorId;

    /** 医院编号 */
    private Long hospitalId;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalName;

    /** 医师人数 */
    @Excel(name = "医师人数")
    private Long hospitalDoctors;

    /** 问诊次数 */
    @Excel(name = "问诊次数")
    private Long hospitalConsultation;

    /** 好评度 */
    @Excel(name = "好评度")
    private BigDecimal hospitalPraise;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setHospitalId(Long hospitalId)
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId()
    {
        return hospitalId;
    }
    public void setHospitalName(String hospitalName)
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName()
    {
        return hospitalName;
    }
    public void setHospitalDoctors(Long hospitalDoctors)
    {
        this.hospitalDoctors = hospitalDoctors;
    }

    public Long getHospitalDoctors()
    {
        return hospitalDoctors;
    }
    public void setHospitalConsultation(Long hospitalConsultation)
    {
        this.hospitalConsultation = hospitalConsultation;
    }

    public Long getHospitalConsultation()
    {
        return hospitalConsultation;
    }
    public void setHospitalPraise(BigDecimal hospitalPraise)
    {
        this.hospitalPraise = hospitalPraise;
    }

    public BigDecimal getHospitalPraise()
    {
        return hospitalPraise;
    }
    public void setRevision(Long revision)
    {
        this.revision = revision;
    }

    public Long getRevision()
    {
        return revision;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public SystemHospitalInfo() {
        System.out.println();
    }

    @Override
    public String toString() {
        return "SystemHospitalInfo{" +
                "doctorName='" + doctorName + '\'' +
                ", doctorId=" + doctorId +
                ", hospitalId=" + hospitalId +
                ", hospitalName='" + hospitalName + '\'' +
                ", hospitalDoctors=" + hospitalDoctors +
                ", hospitalConsultation=" + hospitalConsultation +
                ", hospitalPraise=" + hospitalPraise +
                ", revision=" + revision +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                '}';
    }
}
